package com.workstudy.wstudy.service;

import com.workstudy.wstudy.domain.WstApply;
import com.workstudy.wstudy.domain.WstPost;
import com.workstudy.wstudy.domain.WstPostUser;
import com.workstudy.wstudy.domain.WstRecord;

public interface IWstProcessService {

    /**
     * 负责人提交给管理员审核
     * @param post
     * @return
     */
    public int submitPost(WstPost post);

    /**
     * 管理员检查负责人提交的岗位信息
     * @param record
     * @return
     */
    public int examinePost(WstRecord record);

    /**
     * 学生申请信息
     * @param apply
     * @return
     */
    public int apply(WstApply apply);

    /**
     * 负责人审核学生信息
     * @param record
     * @return
     */
    public int examineApply(WstRecord record);

    /**
     * 选择offer
     * @param apply
     * @return
     */
    public int offer(WstApply apply);

    /**
     * 岗位结束
     * @param post
     * @return
     */
    public int finished(WstPost post);

    public int dismissal(WstPostUser postUser);
}
